<?php error_reporting(0) ?>
<input 
    type="hidden" 
    value="<?php echo $item->block_id ?>" 
    id="Id" name="Id"
    />

<form id="_form_edit_panel" name="_form_edit_panel" 
      action="" method="POST" onsubmit="return false;"
      target="integration_asynchronous" autocomplete="off">
    <div class="widget- row-fluid">
		<div class="well form-horizontal" style="border:none">
			
			<div class="control-group">
				<label class="control-label">TITLE :</label>
				<div class="controls">
					<input type="text" 
						class="span12 validate[required]"
						data-prompt-position="topLeft:-1,-5"
						id="block_title" name="block_title" 
						value="<?php echo quotes_to_entities($item->block_title) ?>"
						/>
			   </div>
			</div>
			
			
			<div class="control-group">
				<label class="control-label">THUMB  :</label>
				<div class="controls">
					<input type="text" class="uneditable-input span12" 
						id="block_thumb" name="block_thumb" 
						value="<?php echo quotes_to_entities($item->block_thumb) ?>"
						/>
					<i class="icon-picture field-icon" 
						onclick="BrowseServer('#block_thumb')"
						title="THUMB"></i>
			   </div>
			</div>
			
			<div class="control-group">
				<label class="control-label">COVER  :</label>
				<div class="controls">
					<input type="text" class="uneditable-input span12" 
						id="block_cover" name="block_cover" 
						value="<?php echo quotes_to_entities($item->block_cover) ?>"
						/>
					<i class="icon-picture field-icon" 
						onclick="BrowseServer('#block_cover')"
						title="COVER"></i>
			   </div>
			</div>
			<div class="control-group">
				<label class="control-label">LINK  :</label>
				<div class="controls">
					<input type="text" class="uneditable-input span12" 
						id="block_link" name="block_link" 
						value="<?php echo quotes_to_entities($item->block_link) ?>"
						/>
					<i class="icon-link field-icon" 
						onclick=""
						title="LINK"></i>
			   </div>
			</div>
			<div class="control-group">
				<label class="control-label">DESC :</label>
				<div class="controls">
					<textarea 
						rows="1" cols="5" 
						id="block_desc" name="block_desc" class="span12"
						><?php echo quotes_to_entities($item->block_desc) ?></textarea>
						
			   </div>
			</div>
			<div class="control-group">
				<label class="control-label">&nbsp;</label>
				<div class="controls">
					<div class="span6">
						<div>POSITION</div>
						<input type="number" 
							class="span12"
							id="block_position" name="block_position" 
							value="<?php echo $item->block_position ?>"
							/>
					</div>
					<div class="span6">
						<div>STATUS</div>
						<select id="block_status" name="block_status" class=" span12">
							<option value="true" <?php if($item->block_status!='false') echo 'selected=1' ?>>ENABLE</option>
							<option value="false">DISABLE</option>
						</select>
						
					</div>
				</div>
			</div>
			<div class="control-group">
				<label class="control-label">&nbsp;</label>
				<div class="controls">
					<div>
						<?php if(!empty($item->block_insert)) echo "Created  : $item->block_insert" ?>
					</div>
					<div>
						<?php if(!empty($item->block_update)) echo "Modified : $item->block_update" ?>
					</div>
				</div>
			</div>
		</div>
	</div>
	
    
    
</form>